package com.dkakunsi.monev.entity;

import javax.persistence.Column;
import javax.persistence.Embeddable;

@Embeddable
public class Progress {
	private double progresFisik;
	private long progresDana;
	
	public Progress() { }

	public Progress(double progresFisik, long progresDana) {
		setProgresDana(progresDana);
		setProgresFisik(progresFisik);
	}

	@Column(name="progres_fisik", nullable=true)
	public double getProgresFisik() {
		return progresFisik;
	}
	
	public void setProgresFisik(double progresFisik) {
		this.progresFisik = progresFisik;
	}
	
	@Column(name="progres_dana", nullable=true)
	public long getProgresDana() {
		return progresDana;
	}
	
	public void setProgresDana(long progresDana) {
		this.progresDana = progresDana;
	}
}
